var aPages = new Array( 15 );
aPages[ 0 ] = 0;	    // counter for Page 1
aPages[ 1 ] = 0;	    // counter for Page 2
aPages[ 2 ] = 0;	    // counter for Page 3
aPages[ 3 ] = 0; 	// counter for Page 4
aPages[ 4 ] = 0;	    // counter for Page 5
aPages[ 5 ] = 0;	    // counter for Page 6
aPages[ 6 ] = 0;	    // counter for Page 7
aPages[ 7 ] = 0;	    // counter for Page 8
aPages[ 8 ] = 0;	    // counter for Page 9
aPages[ 9 ] = 0;	    // counter for Page 10
aPages[ 10 ] = 0;	// counter for Page 11
aPages[ 11 ] = 0;	// counter for Page 12
aPages[ 12 ] = 0;	// counter for Page 13
aPages[ 13 ] = 0;	// counter for Page 14
aPages[ 14 ] = 0;	// counter for Page 15
aPages[ 15 ] = 0;	// counter for Page 16



function viewPage1()
{
	aPages[ 0 ] = aPages[ 0 ] + 1;
}

function viewPage2()
{
	aPages[ 1 ] = aPages[ 1 ] + 1;
}

function viewPage3()
{
	aPages[ 2 ] = aPages[ 2 ] + 1;
}

function viewPage4()
{
	aPages[ 3 ] = aPages[ 3 ] + 1;
}

function viewPage5()
{
	aPages[ 4 ] = aPages[ 4 ] + 1;
}

function viewPage6()
{
	aPages[ 5 ] = aPages[ 5 ] + 1;
}

function viewPage7()
{
	aPages[ 6 ] = aPages[ 6 ] + 1;
}

function viewPage8()
{
	aPages[ 7 ] = aPages[ 7 ] + 1;
}

function viewPage9()
{
	aPages[ 8 ] = aPages[ 8 ] + 1;
}

function viewPage10()
{
	aPages[ 9 ] = aPages[ 9 ] + 1;
}

function viewPage11()
{
	aPages[ 10 ] = aPages[ 10 ] + 1;
}

function viewPage12()
{
	aPages[ 11 ] = aPages[ 11 ] + 1;
}

function viewPage13()
{
	aPages[ 12 ] = aPages[ 12 ] + 1;
}

function viewPage14()
{
	aPages[ 13 ] = aPages[ 13 ] + 1;
}

function viewPage15()
{
	aPages[ 14 ] = aPages[ 14 ] + 1;
}

/*function viewPage16()
{
		if( aPages[ 0 ] >= 1 && aPages[ 1 ] >= 1 && aPages[ 2 ] >= 1 && aPages[ 3 ] >=1 && aPages[ 4 ] >=1 
			&& aPages[ 5 ] >=1 && aPages[ 6 ] >=1 && aPages[ 7 ] >= 1 && aPages[ 8 ] >= 1 && aPages[ 9 ] >= 1
			&& aPages[ 10 ] >= 1 && aPages[ 11 ] >= 1 && aPages[ 12 ] >= 1 && aPages[ 13 ] >= 1
			&& aPages[ 14 ] >= 1 )
		
	{
		parent.frames[ "content" ].document.getElementById( "page-16-content" ).style.display = "block";
	}
	else
	{
		alert( "You can't take the quiz until you visit all the pages!" ).style.display = "block";
		window.top.location = "index.html";
	}
}*/


